﻿using System;
using System.Collections.Generic;

namespace YJKCopyModel.ColumnTransModel
{
	[Grouper(GrouperName = "ColumnGrouper")]
	public class ColumnGrouper : IDataGrouper
	{
		public List<RevitModelRequest> GroupData(InputRequest inputRequest)
		{
			List<RevitModelRequest> list = new List<RevitModelRequest>();
			try
			{
				bool flag = !(inputRequest is ColumnRequest);
				if (flag)
				{
					return list;
				}
				ColumnRequest inputRequest2 = inputRequest as ColumnRequest;
				ColumnRevitRequest item = new ColumnRevitRequest(inputRequest2);
				list.Add(item);
			}
			catch (Exception ex)
			{
			}
			return list;
		}
	}
}
